using QuickReportMaui.Model;

namespace QuickReportMaui.Views;

public partial class Details : ContentPage
{
	public Details()
	{
		InitializeComponent();
	}

    private async void Submit(object sender, EventArgs e)
    {
		FeatureData.Quantity = int.Parse(Number.Text);
		FeatureData.Description = Description.Text;
		FeatureData.Data = Data.Date;
		await Shell.Current.GoToAsync("summary");
    }
}